約 4,801,657 件
https://w.atwiki.jp/android-reference/pages/18.html
A B コメント A AbortableHttpRequest 基礎的なHTTP接続を停止することで強制終了させることが出来るHTTP要求を表すインターフェース. Interface representing an HTTP request that can be aborted by shutting down the underlying HTTP connection. AbsListView Base class that can be used to implement virtualized lists of items. AbsListView.LayoutParams AbsListView extends LayoutParams to provide a place to hold the view type. AbsListView.OnScrollListener Interface definition for a callback to be invoked when the list or grid has been scrolled. AbsListView.RecyclerListener A RecyclerListener is used to receive a notification whenever a View is placed inside the RecycleBin s scrap heap. AbsoluteLayout This class is deprecated. Use FrameLayout, RelativeLayout or a custom layout instead. AbsoluteLayout.LayoutParams Per-child layout information associated with AbsoluteLayout. AbsoluteSizeSpan AbsSavedState A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved. AbsSeekBar AbsSpinner An abstract base class for spinner widgets. AbstractAuthenticationHandler AbstractClientConnAdapter Abstract adapter from operated to managed client connections. AbstractCollection E Class AbstractCollection is an abstract implementation of the Collection interface. AbstractConnPool An abstract connection pool. AbstractCookieAttributeHandler AbstractCookieSpec Abstract cookie specification which can delegate the job of parsing, validation or matching cookie attributes to a number of arbitrary CookieAttributeHandlers. AbstractCursor This is an abstract cursor class that handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons. AbstractCursor.SelfContentObserver Cursors use this class to track changes others make to their URI. AbstractExecutorService Provides default implementation of ExecutorService execution methods. AbstractHttpClient Convenience base class for HTTP client implementations. AbstractHttpClientConnection Abstract client-side HTTP connection capable of transmitting and receiving data using arbitrary SessionInputBuffer and SessionOutputBuffer AbstractHttpEntity Abstract base class for entities. AbstractHttpMessage Basic implementation of an HTTP message that can be modified. AbstractHttpParams Abstract base class for parameter collections. AbstractHttpServerConnection Abstract server-side HTTP connection capable of transmitting and receiving data using arbitrary SessionInputBuffer and SessionOutputBuffer AbstractInputMethodService AbstractInputMethodService provides a abstract base class for input methods. AbstractInputMethodService.AbstractInputMethodImpl Base class for derived classes to implement their InputMethod interface. AbstractInputMethodService.AbstractInputMethodSessionImpl Base class for derived classes to implement their InputMethodSession interface. AbstractInterruptibleChannelAbstractInterruptibleChannel is the root class for interruptible channels. AbstractList E AbstractList is an abstract implementation of the List interface, optimized for a backing store which supports random access. AbstractMap K, V This class is an abstract implementation of the Map interface. AbstractMessageParser Message parser base class. AbstractMessageWriter AbstractMethodError Thrown by the virtual machine when an abstract method is called. AbstractPooledConnAdapter Abstract adapter from pool entries to managed client connections. AbstractPoolEntry A pool entry for use by connection manager implementations. AbstractPreferences This abstract class is a partial implementation of the abstract class Preferences, which can be used to simplify Preferences provider s implementation. AbstractQueue E AbstractQueue is an abstract class which implements some of the methods in Queue. AbstractQueuedSynchronizer Provides a framework for implementing blocking locks and related synchronizers (semaphores, events, etc) that rely on first-in-first-out (FIFO) wait queues. AbstractQueuedSynchronizer.ConditionObject Condition implementation for a AbstractQueuedSynchronizer serving as the basis of a Lock implementation. AbstractSelectableChannel AbstractSelectableChannel is the base implementation class for selectable channels. AbstractSelectionKey AbstractSelectionKey is the base implementation class for selection keys. AbstractSelector AbstractSelector is the base implementation class for selectors. AbstractSequentialList E AbstractSequentialList is an abstract implementation of the List interface. AbstractSessionInputBuffer Abstract base class for session input buffers that stream data from a InputStream. AbstractSessionOutputBuffer Abstract base class for session output buffers that stream data to an OutputStream. AbstractSet E An AbstractSet is an abstract implementation of the Set interface. AbstractVerifier Abstract base class for all standard X509HostnameVerifier implementations. AbstractWindowedCursor A base class for Cursors that store their data in CursorWindows. AccelerateDecelerateInterpolator An interpolator where the rate of change starts and ends slowly but accelerates through the middle. AccelerateInterpolator An interpolator where the rate of change starts out slowly and and then accelerates. AccessControlContext AccessControlContext encapsulates the ProtectionDomains on which access control decisions are based. AccessControlException AccessControlException is thrown if the access control infrastructure denies protected access due to missing permissions. AccessController AccessController provides static methods to perform access control checks and privileged operations. AccessibilityEvent This class represents accessibility events that are sent by the system when something notable happens in the user interface. AccessibilityEventSource This interface is implemented by classes source of AccessibilityEvents. AccessibilityManager System level service that serves as an event dispatch for AccessibilityEvents. AccessibilityService An accessibility service runs in the background and receives callbacks by the system when AccessibilityEvents are fired. AccessibilityServiceInfo This class describes an AccessibilityService. AccessibleObject AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method). Acl The Access Control List (ACL) interface definition. AclEntry The Access Control List Entry interface definition. AclNotFoundException The exception, that is thrown when a reference to a non-existent Access Control List (ACL) is made. Activity An activity is a single, focused thing that the user can do. ActivityGroup A screen that contains and runs multiple embedded activities. ActivityInfo Information you can retrieve about a particular application activity or receiver. ActivityInstrumentationTestCase T extends Activity This class is deprecated. new tests should be written using ActivityInstrumentationTestCase2, which provides more options for configuring the Activity under test ActivityInstrumentationTestCase2 T extends Activity This class provides functional testing of a single activity. ActivityManager Interact with the overall activities running in the system. ActivityManager.MemoryInfo Information you can retrieve about the available memory through getMemoryInfo(ActivityManager.MemoryInfo). ActivityManager.ProcessErrorStateInfo Information you can retrieve about any processes that are in an error condition. ActivityManager.RecentTaskInfo Information you can retrieve about tasks that the user has most recently started or visited. ActivityManager.RunningAppProcessInfo Information you can retrieve about a running process. ActivityManager.RunningServiceInfo Information you can retrieve about a particular Service that is currently running in the system. ActivityManager.RunningTaskInfo Information you can retrieve about a particular task that is currently "running" in the system. ActivityNotFoundException This exception is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent. ActivityTestCase This is common code used to support Activity test cases. ActivityUnitTestCase T extends Activity This class provides isolated testing of a single activity. Adapter An Adapter object acts as a bridge between an AdapterView and the underlying data for that view. AdapterView T extends Adapter An AdapterView is a view whose children are determined by an Adapter. AdapterView.AdapterContextMenuInfo Extra menu information provided to the onCreateContextMenu(ContextMenu, View, ContextMenuInfo) callback when a context menu is brought up for this AdapterView. AdapterView.OnItemClickListener Interface definition for a callback to be invoked when an item in this AdapterView has been clicked. AdapterView.OnItemLongClickListener Interface definition for a callback to be invoked when an item in this view has been clicked and held. AdapterView.OnItemSelectedListener Interface definition for a callback to be invoked when an item in this view has been selected. Address A class representing an Address, i.e, a set of Strings describing a location. Adler32 The Adler-32 class is used to compute the Adler32 checksum from a set of data. AlarmManager This class provides access to the system alarm services. AlertDialog A subclass of Dialog that can display one, two or three buttons. AlertDialog.Builder AlgorithmParameterGenerator AlgorithmParameterGenerator is an engine class which is capable of generating parameters for the algorithm it was initialized with. AlgorithmParameterGeneratorSpi AlgorithmParameterGeneratorSpi is the Service Provider Interface (SPI) definition for AlgorithmParameterGenerator. AlgorithmParameters AlgorithmParameters is an engine class which provides algorithm parameters. AlgorithmParameterSpec The marker interface for algorithm parameter specifications. AlgorithmParametersSpi AlgorithmParametersSpi is the Service Provider Interface (SPI) definition for AlgorithmParameters. AliasActivity Stub activity that launches another activity (and then finishes itself) based on information in its component s manifest meta-data. AlignmentSpan AlignmentSpan.Standard AllClientPNames Collected parameter names for the HttpClient module. AllocationLimitError Is thrown when an allocation limit is exceeded. AllowAllHostnameVerifier The ALLOW_ALL HostnameVerifier essentially turns hostname verification off. AllPermission AllPermission represents the permission to perform any operation. AlphaAnimation An animation that controls the alpha level of an object. AlphabetIndexer A helper class for adapters that implement the SectionIndexer interface. AlreadyConnectedException An AlreadyConnectedException is thrown when an attempt is made to connect a SocketChannel that is already connected. AlteredCharSequence An AlteredCharSequence is a CharSequence that is largely mirrored from another CharSequence, except that a specified range of characters are mirrored from a different char array instead. AnalogClock This widget display an analogic clock with two hands for hours and minutes. AndroidCharacter AndroidCharacter exposes some character properties that are not easily accessed from java.lang.Character. AndroidException Base class for all checked exceptions thrown by the Android frameworks. AndroidRuntimeException Base class for all unchecked exceptions thrown by the Android frameworks. AndroidTestCase Extend this if you need to access Resources or other things that depend on Activity Context. AndroidTestRunner Animatable Interface that drawables suporting animations should implement. Animation Abstraction for an Animation that can be applied to Views, Surfaces, or other objects. Animation.AnimationListener An animation listener receives notifications from an animation. Animation.Description Utility class to parse a string description of a size. AnimationDrawable An object used to create frame-by-frame animations, defined by a series of Drawable objects, which can be used as a View object s background. AnimationSet Represents a group of Animations that should be played together. AnimationUtils Defines common utilities for working with animations. AnnotatedElement This interface provides reflective access to annotation information. Annotation Annotations are simple key-value pairs that are preserved across TextView save/restore cycles and can be used to keep application-specific data that needs to be maintained for regions of text. Annotation Defines the interface implemented by all annotations. Annotation Wrapper for a text attribute value which represents an annotation. AnnotationFormatError Indicates that an annotation in the binary representation of a class is syntactically incorrect and the annotation parser is unable to process it. AnnotationTypeMismatchException Indicates that an annotation type has changed since it was compiled or serialized. AnticipateInterpolator An interpolator where the change starts backward then flings forward. AnticipateOvershootInterpolator An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. Appendable Declares methods to append characters or character sequences. Application Base class for those who need to maintain global application state. ApplicationInfo Information you can retrieve about a particular application. ApplicationInfo.DisplayNameComparator ApplicationTestCase T extends Application This test case provides a framework in which you can test Application classes in a controlled environment. AppWidgetHost AppWidgetHost provides the interaction with the AppWidget service for apps, like the home screen, that want to embed AppWidgets in their UI. AppWidgetHostView Provides the glue to show AppWidget views. AppWidgetManager Updates AppWidget state; gets information about installed AppWidget providers and other AppWidget related state. AppWidgetProvider A convenience class to aid in implementing an AppWidget provider. AppWidgetProviderInfo Describes the meta data for an installed AppWidget provider. ArcShape Creates an arc shape. ArithmeticException Thrown when the an invalid arithmetic operation is attempted. Array This class provides static methods to create and access arrays dynamically. Array A Java representation of the SQL ARRAY type. ArrayAdapter T A ListAdapter that manages a ListView backed by an array of arbitrary objects. ArrayBlockingQueue E A bounded blocking queue backed by an array. ArrayIndexOutOfBoundsException Thrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array. ArrayList E ArrayList is an implementation of List, backed by an array. Arrays Arrays contains static methods which operate on arrays. ArrayStoreException Thrown when a program attempts to store an element of an incompatible type in an array. ArrowKeyMovementMethod Assert A set of assert methods. AssertionError Thrown when an assertion has failed. AssertionFailedError Thrown when an assertion failed. AssertionFailedError Thrown when an assertion failed. AssetFileDescriptor File descriptor of an entry in the AssetManager. AssetFileDescriptor.AutoCloseInputStream An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. AssetFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed. AssetManager Provides access to an application s raw asset files; see Resources for the way most applications will want to retrieve their resource data. AssetManager.AssetInputStream AsynchronousCloseException An AsynchronousCloseException is thrown when the underlying channel for an I/O operation is closed by another thread. AsyncPlayer Plays a series of audio URIs, but does all the hard work on another thread so that any slowness with preparing or loading doesn t block the calling thread. AsyncQueryHandler A helper class to help make handling asynchronous ContentResolver queries easier. AsyncQueryHandler.WorkerArgs AsyncQueryHandler.WorkerHandler AsyncTask Params, Progress, Result AsyncTask enables proper and easy use of the UI thread. AsyncTask.Status Indicates the current status of the task. AtomicBoolean A boolean value that may be updated atomically. AtomicInteger An int value that may be updated atomically. AtomicIntegerArray An int array in which elements may be updated atomically. AtomicIntegerFieldUpdater T A reflection-based utility that enables atomic updates to designated volatile int fields of designated classes. AtomicLong A long value that may be updated atomically. AtomicLongArray A long array in which elements may be updated atomically. AtomicLongFieldUpdater T A reflection-based utility that enables atomic updates to designated volatile long fields of designated classes. AtomicMarkableReference V An AtomicMarkableReference maintains an object reference along with a mark bit, that can be updated atomically. AtomicReference V An object reference that may be updated atomically. AtomicReferenceArray E An array of object references in which elements may be updated atomically. AtomicReferenceFieldUpdater T, V A reflection-based utility that enables atomic updates to designated volatile reference fields of designated classes. AtomicStampedReference V An AtomicStampedReference maintains an object reference along with an integer "stamp", that can be updated atomically. Attr The Attr interface represents an attribute in an Element object. AttributedCharacterIterator Extends the CharacterIterator interface, adding support for iterating over attributes and not only characters. AttributedCharacterIterator.Attribute Defines keys for text attributes. AttributedString Holds a string with attributes describing the characters of this string. AttributeList This interface is deprecated. This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support. AttributeListImpl This class is deprecated. This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class. Attributes The Attributes class is used to store values for manifest entries. Attributes Interface for a list of XML attributes. Attributes.Name The name part of the name/value pairs constituting an attribute as defined by the specification of the JAR manifest. Attributes2 SAX2 extension to augment the per-attribute information provided though Attributes. Attributes2Impl SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface. AttributeSet A collection of attributes, as found associated with a tag in an XML document. AttributesImpl Default implementation of the Attributes interface. AudioFormat The AudioFormat class is used to access a number of audio format and channel configuration constants. AudioManager AudioManager provides access to volume and ringer mode control. AudioRecord The AudioRecord class manages the audio resources for Java applications to record audio from the audio input hardware of the platform. AudioRecord.OnRecordPositionUpdateListener Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by setNotificationMarkerPosition(int) or for periodic updates on the progress of the record head, as set by setPositionNotificationPeriod(int). AudioTrack The AudioTrack class manages and plays a single audio resource for Java applications. AudioTrack.OnPlaybackPositionUpdateListener Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period. AUTH Constants and static helpers related to the HTTP authentication. AuthenticationException Signals a failure in authentication process AuthenticationHandler Authenticator An implementation of this class is able to obtain authentication information for a connection in several ways. Authenticator.RequestorType Enumeration class for the origin of the authentication request. AuthParamBean AuthParams This class implements an adaptor around the HttpParams interface to simplify manipulation of the HTTP authentication specific parameters. AuthPermission Governs the use of methods in this package and also its subpackages. AuthPNames Parameter names for HttpAuth. AuthPolicy AuthProvider AuthProvider is an abstract superclass for Java Security Provider which provide login and logout. AuthScheme This interface represents an abstract challenge-response oriented authentication scheme. AuthSchemeBase Abstract authentication scheme class that serves as a basis for all authentication schemes supported by HttpClient. AuthSchemeFactory AuthSchemeRegistry Authentication scheme registry that can be used to obtain the corresponding authentication scheme implementation for a given type of authorization challenge. AuthScope The class represents an authentication scope consisting of a host name, a port number, a realm name and an authentication scheme name which Credentials apply to. AuthState This class provides detailed information about the state of the authentication process. AutoCompleteTextView An editable text view that shows completion suggestions automatically while the user is typing. AutoCompleteTextView.Validator This interface is used to make sure that the text entered in this TextView complies to a certain format. AutoText This class accesses a dictionary of corrections to frequent misspellings. AvoidXfermode AvoidXfermode xfermode will draw the src everywhere except on top of the opColor or, depending on the Mode, draw only on top of the opColor. AvoidXfermode.Mode B コメント ぬいた(ノ゚Д゚)ノシ★ http //s.64n.co/ -- (age) 2011-12-29 13 42 53 風俗店を探よりココ!!男性は報酬あり!(*´ェ`*)→ http //sns.b8y.in/ -- (千春) 2012-08-21 02 37 48 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/debian-linux/pages/28.html
Bindとは Bind(バインド)は、Internet Systems Consortiumによって提供されている DNSサーバソフトウェアです。 最新版のバージョンはBind9になります。 Bindのインストール状況確認 コマンド aptitude show bind9 root@debian /home/user1# aptitude show bind9Package bind9State not installed Bindのインストール インストール前に、念のためにダウンロードサイト情報を更新しておきます。 aptitude更新コマンド aptitude update Bindインストールコマンド aptitude install bind9 root@debian /home/user1# aptitude install bind9Do you want to continue? [Y/n/?]Y(もしくはそのままEnter) インストール後、正常にインストールされたかどうかを aptitude show bind9 で確認。 root@debian /home/user1# aptitude show bind9Package bind9State installed bindアンインストールコマンド aptitude purge bind9 root@debian /home/user1# aptitude purge bind9Do you want to continue? [Y/n/?]Y(もしくはそのままEnter) bind起動コマンド /etc/init.d/bind9 start root@debian /home/user1# /etc/init.d/bind9 startStarting domain name service... bind9. Bind停止コマンド /etc/init.d/bind9 stop root@debian /home/user1# /etc/init.d/bind9 stopStopping domain name service... bind9 waiting for pid 1108 to die.
https://w.atwiki.jp/linuxjapanwiki/pages/223.html
MX Linux MX Linuxは、antiXのコンポーネントを用いた、 Debian系 のLinuxディストリビューションである。 ▲デスクトップ画面(19.2 Xfce) 各種データ 開発者 MX Dev Team 系統 Debian系 開発状況 開発中 初版 2014年3月24日 最新安定版 MX-21 “Wildflower” / 2021年10月21日 (*1) 最新開発版 MX-21 RC1 / 2021年10月5日 アップデート方式 APT パッケージ管理 dpkg カーネル Linux デスクトップ環境 Xfce , Fluxbox , KDE ウェブサイト https //mxlinux.org/ 概要 MX Linuxは、2013年の12月にMEPISコミュニティのメンバーの間で行われた将来のオプションに関する議論の中で始まった。 これにantiXの開発者たちが加わり、現在は開発が終了したMEPISのコミュニティとantiXとの協力事業として開発が行われている。 プロジェクトの目標は "洗練されて効果的なデスクトップ環境を簡単な設定と高い安定性、強固なパフォーマンスに結びつける" こととしている。 デフォルトのデスクトップ環境にはXfceが採用されており、ログイン時にFluxboxに切り替えることも出来る。(*2) ▲ログインセッションの切り替え(19.2) また、MX-19.2以降、 KDE を採用したバージョンも提供されている。 MX Linuxでは、UEFIコンピュータで使えるインストーラーやLinuxカーネルを変更する手段、AntiXのコアプログラム群などのような基本的なツールの他に、ユーザー志向のツール群であるMX Toolsを配布している。 MX Toolsの1つ、MXスナップショットは、Liveインストールを単独のISOファイルにリマスターするGUIのツールであり、クローンされたイメージは簡単かつ便利に、全ての設定を保ったまま、起動可能なディスクやUSBドライブからの起動を可能にする。 MXスナップショットを用いることで、簡単にシステムの移行や配布を行うことができ、またインストールされたシステムの完全で便利なバックアップとしても使うことが出来る。 MX LinuxはAMD64、IA-32に対応する。 リリース バージョン リリース日 対応するDebian LTSのサポート期限 ベースとなったDebian LTS 主な変更点 MX-14 2014年3月24日(PAE)2014年3月27日(non-PAE) サポート終了 Debian 7(wheezy) MX Toolsを搭載し、CDに合わせて構築された。Xfce 4.10 MX-14.1.1 2014年6月18日 サポート終了 Debian 7(wheezy) MX-14.2 2014年6月30日 サポート終了 Debian 7(wheezy) MX-14.3 2014年12月3日 サポート終了 Debian 7(wheezy) MX-14.4 2015年3月22日 サポート終了 Debian 7(wheezy) Xfce 4.12 MX-15 2015年12月24日 2020年 Debian 8(jessie) systemd-shimを使い、既定のinitはsysvinitだが、systemdもインストールする。MX Toolsを拡張。 MX-16 2016年12月14日 2020年 Debian 8(jessie) MXツールへの追加や改善が加えられ、新しいアイコン、テーマ、壁紙や多くのアプリケーションが追加された。antiXの開発成果を受け入れ、サポートは拡張された。 MX-16.1 2017年6月8日 2020年 Debian 8(jessie) MX16以降のバグ修正と新しいテーマの追加、MX Toolsの更新、ドキュメントの改善や新しい翻訳の成果を含む。 MX-17 2017年12月15日 2022年 Debian 9(stretch) アートワークをアップグレード。新しいMX Tools、antiXの開発で進歩したライブ・オペレーションを含む。 MX-17.1 2018年4月14日 2022年 Debian 9(stretch) MX-18 2018年12月20日 2022年 Debian 9(stretch) MX Toolsの開発が進められた。最新のカーネルが導入され、ディスク全体の暗号化やMX Boot オプションを通じて機能するGRUBのテーマやスプラッシュ画面が追加された。また、新しいアートワークや翻訳の改善も含まれる。 MX-18.1 2019年2月9日 2022年 Debian 9(stretch) MX-18.2 2019年04月07日 2022年 Debian 9(stretch) MX-18.3 2019年05月26日 2022年 Debian 9(stretch) MX-19 2019年10月21日 2024年(予定) Debian 10(buster) ツール、アートワーク、ドキュメンテーション、翻訳が新しく改善されたXfce 4.14 / Fluxbox MX-19.1 2020年02月14日 2024年(予定) Debian 10(buster) MX-19.2 2020年06月01日 2024年(予定) Debian 10(buster) MX-19.2 KDE Beta 1 2020年7月5日 2024年(予定) Debian 10(buster) KDE Plasmaを採用。Qtアプリケーションを優先してプリインストール。 MX-19.2 KDE Beta 2 2020年7月17日 2024年(予定) Debian 10(buster) 不具合の修正 MX-19.2 KDE RC 1 2020年8月9日 2024年(予定) Debian 10(buster) リリース候補、不具合の修正 MX-19.2 KDE 2020年8月14日 2024年(予定) Debian 10(buster) KDE Plasmaを採用したMX Linuxの正式リリースアドバンストハードウェアサポート(AHS)対応の64ビット環境にのみ対応 MX-19.3 RC1 2020年11月2日 2024年(予定) Debian 10(buster) MX-19.3 2020年11月10日 2024年(予定) Debian 10(buster) MX-19.4 2021年4月1日 2024年(予定) Debian 10(buster) MX-21 RC1 2021年10月5日 Debian 11(bullseye) MX-21 2021年10月21日 Debian 11(bullseye) ギャラリー MX Linux 19.2 Fluxbox 外部リンク MX Linux 公式サイト 脚注に記載されているウェブサイトへのリンク MX Linux Blog – MX Linux 関連項目 antiX コメント欄 コメント欄の利用に関してはコメント欄の利用を参照して下さい。 本ページに無関係な内容のコメントは一律して削除されます。Wiki運営に関しては Wiki運営掲示板 にお願いします 。 投稿されているコメントへの返信の際は、必ず返信したいコメント横の○にチェックを入れて返信して下さい。 +上記の内容を守れる方のみご利用ください。 上記の内容を守れる方のみご利用ください。 コメントログ作成 - 名無しさん (2020-07-25 17 51 11) 名前 コメントログ
https://w.atwiki.jp/remotenipple99/pages/10.html
#!/usr/bin/perl use strict; my $data = ; my $error = 0; my $level = 0; my $DATA_PATH = /home/nao/zip_test/test ; my @indent; $error = showList($DATA_PATH, \$data, \@indent, $level, $error); #print $data; #print "error=$error\n\n"; ###HTML### my $html_top= HTML ; html head script src="jquery.js" /script SCRIPT language="JavaScript" !-- function treeMenu(tName) { tMenu = document.getElementById(tName).style; if(tMenu.display == none ) tMenu.display = "block"; else tMenu.display = "none"; } /SCRIPT /head body HTML ###HTML### my $html_bottom= HTML ; /body /html HTML #出力 print $html_top; print $data; print $html_bottom; my $uct=0; #ユーニークナンバー sub showList{ my ($path, $data, $indent, $lv, $error) =@_; $path=~s|/$||; $lv++;#階層のカウント return -20 if(!opendir(DIR, $path)); my @dir = readdir(DIR); close(DIR); @dir = sort{ $a cmp $b }@dir; @dir = grep{ $_!~/^\.?\./; }@dir; my $ct = 0;#現在フォルダ内のファイル数をカウント my $last = scalar(@dir); my $ind=join( , @$indent);#表示用のインデント foreach my $file (@dir){ $ct++; $uct++; next if($file=~/^\.?\./); my $newpath =$path. / .$file; my $id = $uct. _ .$lv; #ファイルがディレクトリの時の処理 if(-d $newpath){ #ブロック div 作成 #トップ階層時 if($lv ==1){ $$data.= " a href=\"javascript treeMenu(\ $id\ );\" "; $$data.= "D $file --$lv"; $$data.= " /a br \n"; push(@$indent, );#次行分のインデントを記録 #ループの途中(├) }elsif($ct != $last){ $$data.= $ind."├"; $$data.= " a href=\"javascript treeMenu(\ $id\ );\" "; $$data.= " D $file --$lv"; $$data.= " /a br \n"; push(@$indent, │ ); #ループラスト(└) }else{ $$data.= $ind."└"; $$data.= " a href=\"javascript treeMenu(\ $id\ );\" "; $$data.= " D $file --$lv"; $$data.= " /a br \n"; push(@$indent, ); } $$data.= " div id=\"$id\" style=\"display none;\" \n"; $error = showList($newpath, $data, $indent, $lv, $error); #再帰処理上昇 pop(@indent);#インデントのディクリメント $$data.=" /div \n"; #ファイルの時の処理 }elsif(-e $newpath){ if($lv ==1){ $$data.=" a href=\"#\" $file --$lv /a br \n"; }elsif($ct != $last){ $$data.= $ind."├ a href=\"#\" $file --$lv /a br \n"; }else{ $$data.= $ind."└ a href=\"#\" $file --$lv /a br \n"; } #エラー }else{ return -30; } } return 0; } define でエクスポート use base Exporter ; use vars qw(@EXPORT); use lib qw(/export/webdata/config/atf/common/atf_lib); require jcode.pl ; BEGIN { @EXPORT = qw($XXX $XXXX); eval "use vars qw(".join( , @EXPORT).")"; } データベースエラーマスク if($ENV{ SERVER_NAME } =~ /^(teto|pata)\./){ # * 開発環境用 * $DB_SOURCE = dbi Oracle ; $DB_USER = ID ; $DB_PASSWD = PASS ; $ENV{ NLS_LANG } = JAPANESE_JAPAN.JA16EUC ; $ENV{ ORACLE_HOME } = XXXX; $ENV{ ORACLE_SID } = orac ; $ENV{ LD_LIBRARY_PATH } = XXXXX ; } else{ # * ST・本番環境用 * $DB_SOURCE = dbi Oracle fwdb9 ; $DB_USER = ID ; $DB_PASSWD = PASS ; $ENV{ NLS_LANG } = JAPANESE_JAPAN.JA16EUC ; $ENV{ ORACLE_HOME } = XXXX ; $ENV{ ORACLE_SID } = XXXXX ; $ENV{ LD_LIBRARY_PATH } = XXXXXXX ; } 正規表現 改行スキップ s=~s/^\s?$// C参考ページ http //www.geocities.co.jp/SiliconValley-Sunnyvale/6128/perl/index.html http //www9.plala.or.jp/sgwr-t/c/ http //www.geocities.jp/ky_webid/c/ 参考サイト:http //tdweb.cssa.chs.nihon-u.ac.jp/ds/ds06.html int main(int argc, const char *argv[]) { int status; int i; /* 処理開始メッセージ */ fprintf(stdout, "%s %u [START] %s %s %u\n", mname, (unsigned int)getpid(), uni_date(), uni_time(), (unsigned int)getppid()); for ( i = 0 ; i argc ; ++i ) { fprintf(stdout, "%s%c", argv[i], ((i+1 argc)? \n )); } stdio.h stdlib.h typedef struct LIST{ char *filename; struct LIST *next; struct LIST *pre; }RESULT_LIST; void AddList(RESULT_LIST **HEAD, RESULT_LIST **END, char *line); int main(int arg, char **argv){ FILE *FP; char line[256]; RESULT_LIST *HEAD = (RESULT_LIST *)malloc(sizeof(RESULT_LIST)); RESULT_LIST *END = (RESULT_LIST *)malloc(sizeof(RESULT_LIST)); HEAD = NULL; END = NULL; if ((FP = fopen(argv[1], "r")) == NULL) { printf("file open error!!"); exit(1); } while(fgets(line, 256, FP)!=NULL){ AddList( HEAD, END, line); } fclose(FP); RESULT_LIST *P[10]; int i=0; while(HEAD != NULL){ P[i] = HEAD; printf("%s self=%d next=%d pre=%d\n", HEAD- filename, HEAD, HEAD- next, HEAD- pre); END = HEAD; HEAD = HEAD- next; free(END); i++; } free(HEAD); int ct; for(ct = 0; ct i; ct++){ printf("%d\n", P[i]); } } void AddList(RESULT_LIST **HEAD, RESULT_LIST **END, char *line){ RESULT_LIST *head = *HEAD; RESULT_LIST *end = *END; char *newline = (char *)malloc(sizeof(char) * strlen(line)); //アドレス重複防止処理 strcpy(newline, line); RESULT_LIST *new_node = (RESULT_LIST *)malloc(sizeof(RESULT_LIST)); new_node- filename = newline; new_node- pre = NULL; new_node- next = NULL; if(*HEAD == NULL){ *HEAD = new_node; *END = new_node; }else{ end- next = new_node; new_node- pre = end; *END = new_node; } }
https://w.atwiki.jp/linuxjapanwiki/pages/297.html
KNOPPIX ▲KNOPPIXのロゴ KNOPPIXは、CD-ROMまたはDVD-ROMから起動するLive CDとしての利用に向いたLinuxディストリビューション。 Debian GNU/Linux をベースとしている。 ▲デスクトップ画面(8.6.1) 各種データ 開発者 Klaus Knopper 系統 Debian系 開発状況 開発中 初版 2000年9月30日 最新版 8.6.1 / 2019年11月22日 アップデート方式 APT パッケージ管理 dpkg カーネル Linux デスクトップ環境 LXDE , KDE , GNOME ウェブサイト https //www.knopper.net/knoppix/index-en.html 概要 KNOPPIXは、ドイツのKlaus KnopperによってDebian GNU/Linuxをベースに開発されている。 CD-ROMやDVD-ROM、USBメモリなどのリムーバブルディスクから起動するLive CD利用を主目的としているが、HDDにインストールすることも可能である。 Live CD利用は前提である為、初期状態ではハードディスクに変更を加えずにLinuxを稼働させ、様々なコマンドやアプリケーションを使うことができる。 これらの特性から、ハードディスクに障害が発生している場合に仮のシステムとして起動させ、ハードディスクの診断や他のメディアなどへのデータをサルベージするなどの作業にも使用可能である。 また、KNOPPIXは様々なハードウェアをサポートし、自動的に認識する能力に優れている。 GUIを利用する際にユーザーはビデオカードの種類などを指定する必要はなく、ネットワークについてもDHCP環境にあれば、LANにつながっているだけで自動的に接続設定が行われる。 3.8.1からは、UnionFSというファイルシステムが採用されており、本来書き込むことが出来ないはずのCD-ROMに対し、仮想的にファイルを書き込むことができるようになった。 これにより、一時的にではあるが、それまで不可能だったパッケージの追加などが行えるようになった。 なお、5.1からは安定性向上のため、unionfsに替わり、aufs(another unionfs)が採用されている。 当初はCD-ROM版のみの提供だったが、収録希望のアプリケーションの数が増えたことでCD-ROMの容量では不足した為、開発者のKlaus Knopperは4.0以降、DVD-ROM版とCD-ROM版をほぼ同時に提供することを決定した。(*1) 4.0以降、CD-ROM版を"light"(軽量版)、DVD-ROM版を"maxi"(大容量版)と位置付け、DVD-ROM版ではCD-ROM版より多くのアプリケーションが標準で利用可能となった。 7.2ではCD-ROM版の提供が終了し、以降はDVD-ROM版に一本化された。 5.1からBeryl、5.3.1からはその後継のCompiz Fusionが搭載され、3Dデスクトップも利用出来る。 リリース 主なリリースを以下に列挙する。 バージョン リリース日 CD-ROM版 DVD-ROM版 1.4 2000年9月30日 Yes No 1.6 2001年4月26日 Yes No 2.1 2002年3月14日 Yes No 2.2 2002年5月14日 Yes No 3.1 2002年10月1日 Yes No 3.2 2003年6月16日 Yes No 3.3 2003年9月22日 Yes No 3.4 2004年5月17日 Yes No 3.5 LinuxTag-Version 2004年6月 No Yes 3.6 2004年8月16日 Yes No 3.7 2004年12月9日 Yes No 3.8 CeBIT-Version 2005年2月28日 Yes No 3.8.1 2005年4月8日 Yes No 3.8.2 2005年5月12日 Yes No 3.9 2005年6月1日 Yes No 4.0 LinuxTag-Version 2005年6月22日 No Yes 4.0 updated 2005年8月16日 No Yes 4.0.2 2005年9月23日 Yes Yes 5.0 CeBIT-Version 2006年2月25日 No Yes 5.0.1 2006年6月2日 Yes Yes 5.1.0 2006年12月30日 Yes Yes 5.1.1 2007年1月4日 Yes Yes 5.2 CeBIT-Version 2007年3月 No Yes 5.3 CeBIT-Version 2008年2月12日 No Yes 5.3.1 2008年3月26日 No Yes ADRIANE 6.0.0 2009年1月28日 Yes No 6.0.1 2009年2月8日 Yes No 6.1 CeBIT-Version 2009年2月25日 Yes Yes 6.2 / ADRIANE 1.2 2009年11月18日 Yes Yes 6.2.1 2010年1月31日 Yes Yes 6.3 CeBIT-Version 2010年3月2日 No Yes 6.4.3 2010年12月20日 Yes Yes 6.4.4 2011年2月1日 Yes Yes 6.5 CeBIT-Version 2011年3月 No Yes 6.7.0 2011年8月3日 Yes Yes 6.7.1 2011年9月16日 Yes Yes 7.0.1 2012年5月24日 No Yes 7.0.2 2012年5月30日 No Yes 7.0.3 2012年7月1日 Yes Yes 7.0.4 2012年8月20日 Yes Yes 7.0.5 2012年12月21日 Yes Yes 7.2.0 2013年6月24日 Yes Yes 7.4.0 2014年8月7日 No Yes 7.4.1 2014年9月15日 No Yes 7.4.2 2014年9月28日 No Yes 7.5 CeBIT-Version 2015年3月16日 No Yes 7.6.0 2015年11月21日 No Yes 7.6.1 2016年1月16日 No Yes 7.7.0 CeBIT-Version 2016年3月14日 No Yes 7.7.1 2016年10月27日 No Yes 8.0.0 CeBIT-Version 2017年3月24日 No Yes 8.1.0 2017年9月27日 No Yes 8.2.0 2018年5月16日 No Yes 8.3.0 (DELUG-DVD) 2018年6月7日 No Yes 8.5.0 Linux-Magazin /Linux-User Edition 2019年3月14日 No Yes 8.6.0 2019年8月8日 No Yes 8.6.1 2019年11月22日 No Yes プリインストールソフトウェア 以下のようなソフトウェアがプリインストールされている。 MPlayer(メディアプレーヤー) インターネットアクセスソフトウェア(KPPPダイヤラ、ISDNユーティリティなど) Iceweasel(ウェブブラウザ) Icedove(メールクライアント) GIMP(画像編集ソフト) データレスキュー、システム修復ツール ネットワーク分析、管理ツール LibreOffice(オフィススイート) ターミナルサーバー 外部リンク KNOPPIX - Live Linux Filesystem On CD (英語) コメント欄 コメント欄の利用に関してはコメント欄の利用を参照して下さい。 本ページに無関係な内容のコメントは一律して削除されます。Wiki運営に関しては Wiki運営掲示板 にお願いします 。 投稿されているコメントへの返信の際は、必ず返信したいコメント横の○にチェックを入れて返信して下さい。 +上記の内容を守れる方のみご利用ください。 上記の内容を守れる方のみご利用ください。 コメントログ作成 - 名無しさん (2020-09-05 20 11 24) 名前 コメントログ
https://w.atwiki.jp/imas/pages/2643.html
DebianP debianを活用するベーシスト。P名もそのままdebianが由来となっている。 最新作 代表作 J氏のrelationsに聴き惚れて。 ニコ動一覧 タグ-DebianP マイリスト-みにっくすのえんそうしてみた 外部リンク Debian使いなのにみにっくすな人のブログ タグ一覧:P名 P名_D サイト持ちP デビュー2008.9上旬 演ってみたP
https://w.atwiki.jp/debian-linux/pages/30.html
Postfixとは Postfix(ポストフィックス)はオープンソースのMTA(メール転送サーバプログラム)。 フリーソフトとして利用が可能。 Postfixのインストール状況確認 コマンド aptitude show postfix root@debian /home/user1# aptitude show postfixPackage postfixState not installedVersion 2.9.6-2Priority extraSection mailMaintainer LaMont Jones lamont@debian.org Architecture i386Uncompressed Size 3277 kDepends libc6 ( = 2.11), libdb5.1, libsasl2-2 ( = 2.1.24), libsqlite3-0 ( =3.5.9), libssl1.0.0 ( = 1.0.0), debconf ( = 0.5) debconf-2.0,netbase, adduser ( = 3.48), dpkg ( = 1.8.3), lsb-base ( = 3.0-6),ssl-cert, cpioRecommends pythonSuggests procmail, postfix-mysql, postfix-pgsql, postfix-ldap, postfix-pcre,sasl2-bin, libsasl2-modules, dovecot-common, resolvconf, postfix-cdb,mail-reader, ufw, postfix-docConflicts libnss-db ( 2.2-3), mail-transport-agent, smailReplaces mail-transport-agentProvides mail-transport-agentDescription High-performance mail transport agentPostfix is Wietse Venema s mail transport agent that started life as analternative to the widely-used Sendmail program. Postfix attempts to be fast,easy to administer, and secure, while at the same time being sendmailcompatible enough to not upset existing users. Thus, the outside has asendmail-ish flavor, but the inside is completely different.Homepage http //www.postfix.org/ Postfixインストール前にやっておくこと ダウンロードサイトの更新 インストール前に、念のためにダウンロードサイト情報を更新しておきます。 aptitude更新コマンド aptitude update Exim4のアンインストール デフォルトでExim4がインストールされている場合があります。 root@debian /home/user1#} aptitude show exim4Package exim4State installed Exim4と関連パッケージをアンインストールしておきます。 root@debian /home/user1#} aptitude purge exim4-base exim4-config exim4-daemon-lightThe following packages will be REMOVED exim4{p}0 packages upgraded, 0 newly installed, 1 to remove and 2 not upgraded.Need to get 0 B of archives. After unpacking 45.1 kB will be freed.Do you want to continue? [Y/n/?] Y(もしくはそのままEnter) Postfixインストールコマンド aptitude install postfix root@debian /home/user1#} aptitude install postfix インストール後、正常にインストールされたかどうかを aptitude show postfix で確認。 root@debian /home/user1# aptitude show postfixPackage postfixState installed Postfix設定 設定ファイル:/usr/lib/postfix/main.cf を /etc/postfix/main.cf にコピーします。 root@debian /home/user1#} cp /usr/lib/postfix/main.cf /etc/postfix/main.cf /etc/postfix/main.cf を修正します。 root@debian /home/user1#} vi /etc/postfix/main.cf mail_owner = postfix myhostname = debian.(ドメイン名) mydomain = (ドメイン名) myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain local_recipient_maps = unix passwd.byname $alias_maps smtpd_banner = $myhostname ESMTP $mail_name mynetworks = 127.0.0.0/8,(ローカルのIPアドレス帯) alias_maps = hash /etc/aliases alias_database = hash /etc/aliases home_mailbox = Maildir/ sendmail_path = /usr/sbin/postfix newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = postdrop コメント化 #html_directory = #manpage_directory = #sample_directory = #readme_directory = root@debian /home/user1#} /etc/init.d/postfix restart[ ok ] Stopping Postfix Mail Transport Agent postfix.[ ok ] Starting Postfix Mail Transport Agent postfix. Postfixアンインストールコマンド aptitude purge postfix root@debian /home/user1# aptitude purge postfixDo you want to continue? [Y/n/?] Y(もしくはそのままEnter) Postfix起動コマンド /etc/init.d/postfix start root@debian /home/user1# /etc/init.d/postfix start[ ok ] Starting Postfix Mail Transport Agent postfix. postfix停止コマンド /etc/init.d/postfix stop root@debian /home/user1# /etc/init.d/postfix stop[ ok ] Stopping Postfix Mail Transport Agent postfix. postfix動作確認コマンド telnet 127.0.0.1 25 root@debian /home/user1# telnet 127.0.0.1 25Trying 127.0.0.1...Connected to 127.0.0.1.Escape character is ^] .220 virtual.domain.tld ESMTP Postfix (@@DISTRO@@) TCPポート25で接続完了。 quit ログアウト。
https://w.atwiki.jp/pocketplanes/pages/22.html
機体 サイズ 解除レベル 乗客 荷物 積載量 距離 速度 重量 コスト(1Mileあたり) コスト(1Mile,1Slotあたり) BIRCHCRAFT-P CLASS 2 10 4 - 4 1517 183 4.0 9.89 2.47 BIRCHCRAFT-C CLASS 2 10 - 4 4 1517 183 4.0 9.89 2.47 BIRCHCRAFT-M CLASS 2 10 2 2 4 1517 183 4.0 9.89 2.47 EQUINOX-P CLASS 2 12 3 - 3 1600 215 3.0 8.72 2.91 EQUINOX-C CLASS 2 12 - 3 3 1600 215 3.0 8.72 2.91 EQUINOX-M CLASS 2 12 2 1 3 1600 215 3.0 8.72 2.91 PEARJET-P CLASS 2 14 5 - 5 1947 272 5.0 18.38 3.68 PEARJET-C CLASS 2 14 - 5 5 1947 272 5.0 18.38 3.68 PEARJET-M CLASS 2 14 3 2 5 1947 272 5.0 18.38 3.68 AEROEAGLE-P CLASS 2 16 6 - 6 2000 220 6.0 17.84 2.97 AEROEAGLE-C CLASS 2 16 - 6 6 2000 220 6.0 17.84 2.97 AEROEAGLE-M CLASS 2 16 3 3 6 2000 220 6.0 17.84 2.97
https://w.atwiki.jp/pocketplanes/pages/20.html
機体 サイズ 解除レベル 乗客 荷物 積載量 距離 速度 重量 コスト(1Mileあたり) コスト(1Mile,1Slotあたり) BEARCLAW-P CLASS 1 1 1 - 1 500 126 1.0 1.70 1.70 BEARCLAW-C CLASS 1 1 - 1 1 500 126 1.0 1.70 1.70 GRIFFON-P CLASS 1 1 1 - 1 800 140 1.1 2.08 2.08 GRIFFON-C CLASS 1 1 - 1 1 800 140 1.1 2.08 2.08 NAVIGATOR-P CLASS 1 1 2 - 2 600 165 2.0 4.46 2.23 NAVIGATOR-C CLASS 1 1 - 2 2 600 165 2.0 4.46 2.23 NAVIGATOR-M CLASS 1 1 1 1 2 600 165 2.0 4.46 2.23 WALLABY-P CLASS 1 1 2 - 2 700 143 2.2 4.25 2.13 WALLABY-C CLASS 1 1 - 2 2 700 143 2.2 4.25 2.13 WALLABY-M CLASS 1 1 1 1 2 700 143 2.2 4.25 2.13 SUPERGOPHER-P CLASS 1 4 1 - 1 1100 160 1.2 2.59 2.59 SUPERGOPHER-C CLASS 1 4 - 1 1 1100 160 1.2 2.59 2.59 AIRVAN-P CLASS 1 5 3 - 3 840 163 3.0 6.61 2.20 AIRVAN-C CLASS 1 5 - 3 3 840 163 3.0 6.61 2.20 AIRVAN-M CLASS 1 5 2 1 3 840 163 3.0 6.61 2.20 ANAN-P CLASS 1 6 3 - 3 656 176 3.0 7.13 2.38 ANAN-C CLASS 1 6 - 3 3 656 176 3.0 7.13 2.38 ANAN-M CLASS 1 6 1 2 3 656 176 3.0 7.13 2.38 KANGAROO-P CLASS 1 7 4 - 4 945 125 4.0 6.76 1.69 KANGAROO-C CLASS 1 7 - 4 4 945 125 4.0 6.76 1.69 KANGAROO-M CLASS 1 7 2 2 4 945 125 4.0 6.76 1.69 MOHAWK-P CLASS 1 8 3 - 3 1000 172 3.2 7.44 2.48 MOHAWK-C CLASS 1 8 - 3 3 1000 172 3.2 7.44 2.48 MOHAWK-M CLASS 1 8 2 1 3 1000 172 3.2 7.44 2.48 BLIMP CLASS 1 2 2 4 1000 58 0.8 0.63 0.16 BOBCAT CLASS 1 1 - 1 600 135 1.0 1.82 1.82 HOT AIR BALLOON CLASS 1 1 - 1 800 15 0.0 0.00 0.00 HUEY CLASS 1 2 1 3 600 125 3.0 5.07 1.69 KRINGLE KRUISER CLASS 1 - 3 3 1500 200 2.9 7.84 2.61 P-40 WARHAWK CLASS 1 1 - 1 650 200 1.0 2.70 2.70 SEA KNIGHT CLASS 1 2 3 5 800 130 5.0 8.78 1.76 X10 MAPPLE PRO CLASS 1 2 2 4 1050 1800 4.0 97.28 24.32
https://w.atwiki.jp/kurushima/pages/16.html
DebianのOpenSSLはどのように修正されたか 初版 2008年6月2日 Debian OpenSSL脆弱性問題のまとめはこちらを、最新のSSLブラックリストの更新履歴のまとめはこちらをご覧ください。m(_ _)m 今回のDebian OpenSSL問題に関して例えば、 Debian etsh ディストリビューションの場合 opensslのバージョンでいえば openssl-0.9.8c-4etch1 (2007.10.02リリース) は修正前 openssl-0.9.8c-4etch3 (2008.05.14リリース) で修正された ということになっています。 ウェブからは古いコードは取得できないようですが http //packages.debian.org/etch/openssl FTPからはダウンロードできるようです。 ftp //ftp.debian.org/debian/pool/main/o/openssl/ openssl_0.9.8c.orig.tar.gz openssl_0.9.8c-4etch1.diff.gz openssl_0.9.8c-4etch3.diff.gz 4etch1, 4etch3 のソースは共にオリジナルに対するパッチの 形で提供されています。 4etch1, 4etch3 の差分をとり、 どこに問題があり、どのように修正されたかを 見てみることにしました。 4etch1から4etch3で更新されたファイル一覧は以下の通りになります。 ファイル 備考 crypto/bn/bn_mont.c 4etch2のMontgomery multiplicationの修正 crypto/rand/md_rand.c MessageDigestを利用した乱数生成器?これですね debian/changelog 変更履歴 debian/libssl0.9.8.postinst バージョン比較文字列の変更のみ include/openssl/dtls1.h 4etch2のDTLSの修正か? include/openssl/ssl.h 4etch2のDTLSの修正か? ssl/d1_both.c 4etch2のDTLSの修正か? ssl/dtls1.h 4etch2のDTLSの修正か? ssl/ssl.h 4etch2のDTLSの修正か? ssl/ssl_err.c 4etch2のDTLSの修正か? 結局、問題のありそうなのは crypto/rand/md_rand.c のみのようです。 こちらがオリジナルの0.9.8cのコード static void ssleay_rand_add(const void *buf, int num, double add) ... 中略 ... MD_Update( m,buf,j); // 274行目あたり こちらが0.9.8c-4etch1のコード static void ssleay_rand_add(const void *buf, int num, double add) ... 中略 ... /* * Don t add uninitialised data. MD_Update( m,buf,j); // 274行目あたり */ そしてこちらが0.9.8c-4etch3のコード static void ssleay_rand_add(const void *buf, int num, double add) ... 中略 ... MD_Update( m,buf,j); // 274行目あたり 結局、オリジナルのコードでは問題が起きてなかったものを 「初期化されていないから」という理由でコメントアウトしてしまい、 プロセスIDのみに依存し、乱数とはならなくなってしまい、 4etch3では、元に戻したということのようで、 オリジナルのOpenSSL-0.9.8cには問題がなく0.9.8c-1から0.9.8c-4etch1まで にあったDebian固有の問題であったことがわかります。 これと類似処理の除外は #ifndef PURIFY #if 0 /* Don t add uninitialised data. */ MD_Update( m,buf,j); /* purify complains */ // 470行目あたり #endif #endif にもあって、必ず MD_Updateが実行されないようになっています。 ご存知の方もおられると思いますが、Purifyとは有名な 「ソースコードのメモリリーク発見ソフト」です。 メモリ初期化エラーが出たため、Debianでは 2つの部分を必ず実行されないようにしてしまったのだと思います。 このため、直前の乱数生成の結果が次の乱数に生かされず、 乱数は必ず同じ値となってしまっていた、、、 ということのようです。 処理の意味をわからないまま、コメントアウトしてしまっていたのは、 すこしおっかないですね。